添加培训经历
NSMutableDictionary *searchDic = [[NSMutableDictionary alloc] init];

 [searchDic setObject:startDate_ forKey:@"train_startdate"];
 if ([endTimeTextField.text isEqualToString:@"至今"]) {
    [searchDic setObject:@"" forKey:@"train_enddate"];
 }else{
    [searchDic setObject:endDate_ forKey:@"train_enddate"];
 }

 [searchDic setObject:institution forKey:@"train_institution"];
 [searchDic setObject:course forKey:@"train_cource"];
 [searchDic setObject:des_ forKey:@"train_desc"];

 if (bToNow_) {
[searchDic setObject:@"1" forKey:@"train_istonow"];
 }
 else
 {
[searchDic setObject:@"0" forKey:@"train_istonow"];
 }

 ELBodyMsgDic *bodyDic = [[ELBodyMsgDic alloc] init];
 [bodyDic setReqeustValue:[Manager getUserInfo].userId_ key:@"person_id"];
 [bodyDic setReqeustValue:searchDic key:@"trainArr"];
 NSString *bodyMsg = [bodyDic getBodyMsg];

 [BaseUIViewController showLoadView:YES content:@"正在添加" view:nil];
 [ELRequest postbodyMsg:bodyMsg op:@"person_sub_busi" func:@"addTrain" requestVersion:YES success:^(NSURLSessionDataTask *operation, id result)




删除
NSMutableDictionary *searchDic = [[NSMutableDictionary alloc] init];
 [searchDic setObject:[Manager getUserInfo].userId_ forKey:@"personId"];
 [searchDic setObject:_dataModal_.id_ forKey:@"train_id"];

 ELBodyMsgDic *bodyDic = [[ELBodyMsgDic alloc] init];
 [bodyDic setReqeustValue:searchDic key:@"array"];
 NSString *bodyMsg = [bodyDic getBodyMsg];

 [BaseUIViewController showLoadView:YES content:@"正在删除" view:nil];
 [ELRequest postbodyMsg:bodyMsg op:@"person_info_busi" func:@"detelePersonTrain" requestVersion:YES




修改
NSMutableDictionary *searchDic = [[NSMutableDictionary alloc] init];

 [searchDic setObject:startDate_ forKey:@"train_startdate"];
 if ([endTimeTextField.text isEqualToString:@"至今"]) {
[searchDic setObject:@"" forKey:@"train_enddate"];
 }else{
[searchDic setObject:endDate_ forKey:@"train_enddate"];
 }

 [searchDic setObject:institution forKey:@"train_institution"];
 [searchDic setObject:course forKey:@"train_cource"];
 [searchDic setObject:des_ forKey:@"train_desc"];
 [searchDic setObject:_dataModal_.id_.length > 0 ? _dataModal_.id_:@"" forKey:@"train_id"];

 if (bToNow_) {
[searchDic setObject:@"1" forKey:@"train_istonow"];
 }
 else
 {
[searchDic setObject:@"0" forKey:@"train_istonow"];
 }

 ELBodyMsgDic *bodyDic = [[ELBodyMsgDic alloc] init];
 [bodyDic setReqeustValue:[Manager getUserInfo].userId_ key:@"person_id"];
 [bodyDic setReqeustValue:searchDic key:@"updateArr"];
 NSString *bodyMsg = [bodyDic getBodyMsg];

 [BaseUIViewController showLoadView:YES content:@"正在保存" view:nil];
 [ELRequest postbodyMsg:bodyMsg op:@"person_sub_busi" func:@"updateTrain" requestVersion:YES



更新证书
NSMutableDictionary *searchDic = [[NSMutableDictionary alloc] init];
 [searchDic setObject:year forKey:@"Years"];
 [searchDic setObject:month forKey:@"Months"];
 [searchDic setObject:cerType_ forKey:@"CerList"];
 [searchDic setObject:cerName_ forKey:@"CertName"];
 [searchDic setObject:scores_ forKey:@"Scores"];
 [searchDic setObject:[NSString unEmptyString:_model.filepath] forKey:@"filepath"];

 if (_isEdit) {
 [searchDic setObject:_model.cid forKey:@"id"];
 ELBodyMsgDic *bodyDic = [[ELBodyMsgDic alloc] init];
 [bodyDic setReqeustValue:[Manager getUserInfo].userId_ key:@"person_id"];
 [bodyDic setReqeustValue:searchDic key:@"updateArr"];
 NSString *bodyMsg = [bodyDic getBodyMsg];

 [BaseUIViewController showLoadView:YES content:@"正在修改" view:nil];
 [ELRequest postbodyMsg:bodyMsg op:@"person_sub_busi" func:@"updateMycer" requestVersion:YES success:^(NSURLSessionDataTask *operation, id result) {

添加证书
NSMutableDictionary *searchDic = [[NSMutableDictionary alloc] init];
 [searchDic setObject:year forKey:@"Years"];
 [searchDic setObject:month forKey:@"Months"];
 [searchDic setObject:cerType_ forKey:@"CerList"];
 [searchDic setObject:cerName_ forKey:@"CertName"];
 [searchDic setObject:scores_ forKey:@"Scores"];
 [searchDic setObject:[NSString unEmptyString:_model.filepath] forKey:@"filepath"];
[bodyDic setReqeustValue:searchDic key:@"cerArr"];
 NSString *bodyMsg = [bodyDic getBodyMsg];

 [BaseUIViewController showLoadView:YES content:@"正在保存" view:nil];
 [ELRequest postbodyMsg:bodyMsg op:@"person_sub_busi" func:@"addCer" requestVersion:YES


删除
NSString * bodyMsg = [NSString stringWithFormat:@"person_id=%@&cer_id=%@",[Manager getUserInfo].userId_,cerId];
  [BaseUIViewController showLoadView:YES content:@"正在删除证书" view:nil];
  [ELRequest postbodyMsg:bodyMsg op:@"person_sub_busi" func:@"deleteCer" requestVersion:YES
